package com.xiu.pojo;

import java.util.Date;

import javax.validation.constraints.NotNull;

import org.springframework.format.annotation.DateTimeFormat;

public class ExamGrade {
    private Integer examGradeId;

    private Integer examStuId;

    private Integer examSubjectId;

    private Integer examGradePoint;

    private Integer examGradeRight;

    private Integer examGradeSum;

    @NotNull(message="考试时间不能空")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date examGradeTime;

    private Integer examGradeFlag;
    
    private String examSubjectName;
    
    private Integer examNumber;
    
    private String examName;
    
    private String examStringGradeTime;
    
    private Date upddate;
    
    private int examRoleId;

    public Integer getExamGradeId() {
        return examGradeId;
    }

    public void setExamGradeId(Integer examGradeId) {
        this.examGradeId = examGradeId;
    }

    public Integer getExamStuId() {
        return examStuId;
    }

    public void setExamStuId(Integer examStuId) {
        this.examStuId = examStuId;
    }

    public Integer getExamSubjectId() {
        return examSubjectId;
    }

    public void setExamSubjectId(Integer examSubjectId) {
        this.examSubjectId = examSubjectId;
    }

    public Integer getExamGradePoint() {
        return examGradePoint;
    }

    public void setExamGradePoint(Integer examGradePoint) {
        this.examGradePoint = examGradePoint;
    }

    public Integer getExamGradeRight() {
        return examGradeRight;
    }

    public void setExamGradeRight(Integer examGradeRight) {
        this.examGradeRight = examGradeRight;
    }

    public Integer getExamGradeSum() {
        return examGradeSum;
    }

    public void setExamGradeSum(Integer examGradeSum) {
        this.examGradeSum = examGradeSum;
    }

    public Date getExamGradeTime() {
        return examGradeTime;
    }

    public void setExamGradeTime(Date examGradeTime) {
        this.examGradeTime = examGradeTime;
    }

    public Integer getExamGradeFlag() {
        return examGradeFlag;
    }

    public void setExamGradeFlag(Integer examGradeFlag) {
        this.examGradeFlag = examGradeFlag;
    }

	public String getExamSubjectName() {
		return examSubjectName;
	}

	public void setExamSubjectName(String examSubjectName) {
		this.examSubjectName = examSubjectName;
	}

	public Integer getExamNumber() {
		return examNumber;
	}

	public void setExamNumber(Integer examNumber) {
		this.examNumber = examNumber;
	}

	public String getExamName() {
		return examName;
	}

	public void setExamName(String examName) {
		this.examName = examName;
	}

	public String getExamStringGradeTime() {
		return examStringGradeTime;
	}

	public void setExamStringGradeTime(String examStringGradeTime) {
		this.examStringGradeTime = examStringGradeTime;
	}

	@Override
	public String toString() {
		return "ExamGrade [examGradeId=" + examGradeId + ", examStuId=" + examStuId + ", examSubjectId=" + examSubjectId
				+ ", examGradePoint=" + examGradePoint + ", examGradeRight=" + examGradeRight + ", examGradeSum="
				+ examGradeSum + ", examGradeTime=" + examGradeTime + ", examGradeFlag=" + examGradeFlag
				+ ", examSubjectName=" + examSubjectName + ", examNumber=" + examNumber + ", examName=" + examName
				+ ", examStringGradeTime=" + examStringGradeTime + "]";
	}

	public Date getUpddate() {
		return upddate;
	}

	public void setUpddate(Date upddate) {
		this.upddate = upddate;
	}

	public int getExamRoleId() {
		return examRoleId;
	}

	public void setExamRoleId(int examRoleId) {
		this.examRoleId = examRoleId;
	}
}